import request from '@/utils/request'

export function getPersonList(data){
    return request({
        url:'/personlist',
        method:'get',
        params:data
    });
}

export function editPerson(data){
    return request({
       url:'/editperson',
       method:'post',
       data:qs.stringify(data)
    });
}

export function getPersonInfo(data){
    return request({
       url:'/personinfo',
       method:'get',
       params:data
    });
}

export function delPerson(data){
   return request({
      url:'/delperson',
      method:'get',
      params:data
   });
}

export function getAllNations(data){
   return request({
      url:'/allnations',
      method:'get',
      params:data
   });
}
